package org.september.pisces.sms;

import org.september.pisces.sms.controller.SmsSentLogController;
import org.september.pisces.sms.controller.SmsTmplController;

public enum PiscesSmsPermission {
    模板列表(SmsTmplController.List_Page,SmsTmplController.List_Data),
    添加模板(SmsTmplController.Add_Page,SmsTmplController.Add_Action),
    编辑模板(SmsTmplController.Edit_Page,SmsTmplController.Edit_Action),
    删除模板(SmsTmplController.Delete_Action),
    
    发送记录(SmsSentLogController.List_Page,SmsSentLogController.List_Data),
	;

    private String name;
    private String[] urls;

    PiscesSmsPermission(String... urls) {
        this.name = this.name();
        this.urls = urls;
    }

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String[] getUrls() {
		return urls;
	}

	public void setUrls(String[] urls) {
		this.urls = urls;
	}

}
